package com.yjy.fuyao.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yjy.fuyao.order.entity.CourseOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author yjy
 * @since 2022-05-14
 */
public interface CourseOrderService extends IService<CourseOrder> {
    String saveOrder(String courseId, String userId);

    Map<String, Object> orderPageList(Page<CourseOrder> pageParam, String userId);

    Map createNative(String orderNo);

    Map<String, String> queryPayStatus(String orderNo);

    void updateOrderStatus(Map<String, String> map);
}
